package com.link2room.quintesson.facade;

import com.link2room.common.dto.param.base.BaseParamDto;
import com.link2room.common.jpa.result.QueryResult;
import com.link2room.quintesson.dto.param.manager.TaobaoXhotelManagerParamDto;
import com.link2room.quintesson.dto.result.manager.TaobaoXhotelDto;

import java.util.List;

/**
 * Created by sss on 2017/4/10.
 */
public interface ITaobaoXhotelFacadeService {

    /**
     * 飞猪酒店列表
     *
     * @param taobaoXhotelManagerParamDto@return
     * @throws Exception
     */
    QueryResult<TaobaoXhotelDto> listTaobaoXhotel(TaobaoXhotelManagerParamDto taobaoXhotelManagerParamDto)throws Exception;
    /**
     * 飞猪酒店详情
     * @param baseParamDto
     * @return
     * @throws Exception
     */
    TaobaoXhotelDto findTaobaoXhotel(BaseParamDto baseParamDto)throws Exception;

    List<TaobaoXhotelDto> saveOrUpdateTaobaoXhotelList(TaobaoXhotelManagerParamDto taobaoXhotelManagerParamDto) throws Exception;

    TaobaoXhotelDto saveOrUpdateTaobaoXhotel(TaobaoXhotelManagerParamDto taobaoXhotelManagerParamDto) throws Exception;

    void upTaobaoXhotel(TaobaoXhotelManagerParamDto taobaoXhotelManagerParamDto) throws Exception;

    void upTaobaoXhotelList(TaobaoXhotelManagerParamDto taobaoXhotelManagerParamDto) throws Exception;
}
